package com.rimi.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.rimi.bean.UserBean;
import com.rimi.dao.UserDao;
import com.rimi.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private  UserDao  ud;
	
	@Override
	public UserBean login(UserBean ub) {
		return ud.login(ub);
	}

	@Override
	public List userInfo(UserBean ub) {
		// TODO Auto-generated method stub
		return ud.userInfo(ub);
	}

	@Override
	public List userInfoZero(Map map) {
		// TODO Auto-generated method stub
		return ud.userInfoZero(map);
	}

	@Override
	public void editPs(UserBean u) {
		ud.editPs(u);
	}

}
